package com.yiranLTD.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
//@TableName("t_user")
public class User {

//    @TableId(type = IdType.ASSIGN_ID)  主键雪花算法
    private Long id;
    private String name;
    private String password;
    private Integer age;
    private String tel;
    @TableLogic
    private Integer deleted;
    @TableField(exist = false)//表中没有该字段
    private String info;
}
